package com.sxf.biz.customer.vo;

import com.sxf.common.param.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * @description: TODO
 * @Author Leo
 * @date 2024/3/1822:00
 */
@Data
public class AddProjectReq extends BaseVO {
    @ApiModelProperty(value = "项目编码")
    private String projectCode;
    @ApiModelProperty(value = "项目名称",required = true)
    @NotNull(message = "项目名称不能为空")
    @Size(max = 100, min = 1, message = "项目名称必须大于0，小于等于100")
    private String projectName;
    @ApiModelProperty(value = "项目简称")
    private String projectAlias;
    @ApiModelProperty(value = "治疗领域")
    private String scope;
    @ApiModelProperty(value = "临床分期")
    private String clinicalStage;
    @ApiModelProperty(value = "计划中心数")
    private Integer centersCount;
    @ApiModelProperty(value = "计划受试者数量")
    private Integer subjectsCount;
    @ApiModelProperty(value = "开始日期",required = true)
    @NotNull(message = "开始日期不能为空")
    private Date startDate;
}
